﻿using DataManage;
using System.Collections.Generic;

namespace BMSPlatform.CustomClass
{
    public class DataFramesCompare : Comparer<DataFrames>
    {
        public override int Compare(DataFrames x, DataFrames y)
        {
            if (x.DateTimeStamp < y.DateTimeStamp)
                return -1;
            else if (x.DateTimeStamp > y.DateTimeStamp)
                return 1;
            else
                return 0;
        }
    }
}
